<?php

namespace catchAdmin\sms\request;


use catcher\base\CatchRequest;

class TemplateRequest extends CatchRequest
{
    protected function rules(): array
    {

        // TODO: Implement rules() method.
        return [
            'title|模板名称' => 'require|unique:sms_template,title^sms_topic_id^deleted_at',
            'content|模板内容' => 'require',
            'sms_topic_id|主题id' => 'require|number'
        ];
    }
}
